package com.woniuxy.mesboot.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author ：lisir
 * @date ：Created in 2023/5/25 16:32
 * @description：TODO
 */
@Data
public class InspectionRecordDTO {

    private Integer inspectionRecordId;

    private Integer inspectionScheduleId;

    private String inspectionRecordCode;

    private String inspectionRecordRemark;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date inspectionRecordTime;

    private String workNo;

    private String userName;
    //当前页
    private Integer currentPage;
    //每页显示的行数
    private Integer pageSize;
    // 时间查询
    private String[] dateRange;
}
